package com.liuyanzhao.blog.entity;
/**
 * 
 * @author Baokai Wang
 *  选项的属性及其set、get方法
 * @CrateTime: 2019年6月17日
 */
public class Options {
    private Integer optionId;

    private String optionSiteTitle;

    private String optionSiteDescrption;

    private String optionMetaDescrption;

    private String optionMetaKeyword;

    private String optionAboutsiteAvatar;

    private String optionAboutsiteTitle;

    private String optionAboutsiteContent;

    private String optionAboutsiteWechat;

    private String optionAboutsiteQq;

    private String optionAboutsiteGithub;

    private String optionAboutsiteWeibo;

    private String optionTongji;

    private Integer optionStatus;

    public Integer getOptionId() {
        return optionId;
    }

    public void setOptionId(Integer optionId) {
        this.optionId = optionId;
    }

    public String getOptionSiteTitle() {
        return optionSiteTitle;
    }

    public void setOptionSiteTitle(String optionSiteTitle) {
        this.optionSiteTitle = optionSiteTitle == null ? null : optionSiteTitle.trim();
    }

    public String getOptionSiteDescrption() {
        return optionSiteDescrption;
    }

    public void setOptionSiteDescrption(String optionSiteDescrption) {
        this.optionSiteDescrption = optionSiteDescrption == null ? null : optionSiteDescrption.trim();
    }

    public String getOptionMetaDescrption() {
        return optionMetaDescrption;
    }

    public void setOptionMetaDescrption(String optionMetaDescrption) {
        this.optionMetaDescrption = optionMetaDescrption == null ? null : optionMetaDescrption.trim();
    }

    public String getOptionMetaKeyword() {
        return optionMetaKeyword;
    }

    public void setOptionMetaKeyword(String optionMetaKeyword) {
        this.optionMetaKeyword = optionMetaKeyword == null ? null : optionMetaKeyword.trim();
    }

    public String getOptionAboutsiteAvatar() {
        return optionAboutsiteAvatar;
    }

    public void setOptionAboutsiteAvatar(String optionAboutsiteAvatar) {
        this.optionAboutsiteAvatar = optionAboutsiteAvatar == null ? null : optionAboutsiteAvatar.trim();
    }

    public String getOptionAboutsiteTitle() {
        return optionAboutsiteTitle;
    }

    public void setOptionAboutsiteTitle(String optionAboutsiteTitle) {
        this.optionAboutsiteTitle = optionAboutsiteTitle == null ? null : optionAboutsiteTitle.trim();
    }

    public String getOptionAboutsiteContent() {
        return optionAboutsiteContent;
    }

    public void setOptionAboutsiteContent(String optionAboutsiteContent) {
        this.optionAboutsiteContent = optionAboutsiteContent == null ? null : optionAboutsiteContent.trim();
    }

    public String getOptionAboutsiteWechat() {
        return optionAboutsiteWechat;
    }

    public void setOptionAboutsiteWechat(String optionAboutsiteWechat) {
        this.optionAboutsiteWechat = optionAboutsiteWechat == null ? null : optionAboutsiteWechat.trim();
    }

    public String getOptionAboutsiteQq() {
        return optionAboutsiteQq;
    }

    public void setOptionAboutsiteQq(String optionAboutsiteQq) {
        this.optionAboutsiteQq = optionAboutsiteQq == null ? null : optionAboutsiteQq.trim();
    }

    public String getOptionAboutsiteGithub() {
        return optionAboutsiteGithub;
    }

    public void setOptionAboutsiteGithub(String optionAboutsiteGithub) {
        this.optionAboutsiteGithub = optionAboutsiteGithub == null ? null : optionAboutsiteGithub.trim();
    }

    public String getOptionAboutsiteWeibo() {
        return optionAboutsiteWeibo;
    }

    public void setOptionAboutsiteWeibo(String optionAboutsiteWeibo) {
        this.optionAboutsiteWeibo = optionAboutsiteWeibo == null ? null : optionAboutsiteWeibo.trim();
    }

    public String getOptionTongji() {
        return optionTongji;
    }

    public void setOptionTongji(String optionTongji) {
        this.optionTongji = optionTongji == null ? null : optionTongji.trim();
    }

    public Integer getOptionStatus() {
        return optionStatus;
    }

    public void setOptionStatus(Integer optionStatus) {
        this.optionStatus = optionStatus;
    }

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((optionAboutsiteAvatar == null) ? 0 : optionAboutsiteAvatar.hashCode());
		result = prime * result + ((optionAboutsiteContent == null) ? 0 : optionAboutsiteContent.hashCode());
		result = prime * result + ((optionAboutsiteGithub == null) ? 0 : optionAboutsiteGithub.hashCode());
		result = prime * result + ((optionAboutsiteQq == null) ? 0 : optionAboutsiteQq.hashCode());
		result = prime * result + ((optionAboutsiteTitle == null) ? 0 : optionAboutsiteTitle.hashCode());
		result = prime * result + ((optionAboutsiteWechat == null) ? 0 : optionAboutsiteWechat.hashCode());
		result = prime * result + ((optionAboutsiteWeibo == null) ? 0 : optionAboutsiteWeibo.hashCode());
		result = prime * result + ((optionId == null) ? 0 : optionId.hashCode());
		result = prime * result + ((optionMetaDescrption == null) ? 0 : optionMetaDescrption.hashCode());
		result = prime * result + ((optionMetaKeyword == null) ? 0 : optionMetaKeyword.hashCode());
		result = prime * result + ((optionSiteDescrption == null) ? 0 : optionSiteDescrption.hashCode());
		result = prime * result + ((optionSiteTitle == null) ? 0 : optionSiteTitle.hashCode());
		result = prime * result + ((optionStatus == null) ? 0 : optionStatus.hashCode());
		result = prime * result + ((optionTongji == null) ? 0 : optionTongji.hashCode());
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		Options other = (Options) obj;
		if (optionAboutsiteAvatar == null) {
			if (other.optionAboutsiteAvatar != null)
				return false;
		} else if (!optionAboutsiteAvatar.equals(other.optionAboutsiteAvatar))
			return false;
		if (optionAboutsiteContent == null) {
			if (other.optionAboutsiteContent != null)
				return false;
		} else if (!optionAboutsiteContent.equals(other.optionAboutsiteContent))
			return false;
		if (optionAboutsiteGithub == null) {
			if (other.optionAboutsiteGithub != null)
				return false;
		} else if (!optionAboutsiteGithub.equals(other.optionAboutsiteGithub))
			return false;
		if (optionAboutsiteQq == null) {
			if (other.optionAboutsiteQq != null)
				return false;
		} else if (!optionAboutsiteQq.equals(other.optionAboutsiteQq))
			return false;
		if (optionAboutsiteTitle == null) {
			if (other.optionAboutsiteTitle != null)
				return false;
		} else if (!optionAboutsiteTitle.equals(other.optionAboutsiteTitle))
			return false;
		if (optionAboutsiteWechat == null) {
			if (other.optionAboutsiteWechat != null)
				return false;
		} else if (!optionAboutsiteWechat.equals(other.optionAboutsiteWechat))
			return false;
		if (optionAboutsiteWeibo == null) {
			if (other.optionAboutsiteWeibo != null)
				return false;
		} else if (!optionAboutsiteWeibo.equals(other.optionAboutsiteWeibo))
			return false;
		if (optionId == null) {
			if (other.optionId != null)
				return false;
		} else if (!optionId.equals(other.optionId))
			return false;
		if (optionMetaDescrption == null) {
			if (other.optionMetaDescrption != null)
				return false;
		} else if (!optionMetaDescrption.equals(other.optionMetaDescrption))
			return false;
		if (optionMetaKeyword == null) {
			if (other.optionMetaKeyword != null)
				return false;
		} else if (!optionMetaKeyword.equals(other.optionMetaKeyword))
			return false;
		if (optionSiteDescrption == null) {
			if (other.optionSiteDescrption != null)
				return false;
		} else if (!optionSiteDescrption.equals(other.optionSiteDescrption))
			return false;
		if (optionSiteTitle == null) {
			if (other.optionSiteTitle != null)
				return false;
		} else if (!optionSiteTitle.equals(other.optionSiteTitle))
			return false;
		if (optionStatus == null) {
			if (other.optionStatus != null)
				return false;
		} else if (!optionStatus.equals(other.optionStatus))
			return false;
		if (optionTongji == null) {
			if (other.optionTongji != null)
				return false;
		} else if (!optionTongji.equals(other.optionTongji))
			return false;
		return true;
	}

	@Override
	public String toString() {
		return "Options [optionId=" + optionId + ", optionSiteTitle=" + optionSiteTitle + ", optionSiteDescrption="
				+ optionSiteDescrption + ", optionMetaDescrption=" + optionMetaDescrption + ", optionMetaKeyword="
				+ optionMetaKeyword + ", optionAboutsiteAvatar=" + optionAboutsiteAvatar + ", optionAboutsiteTitle="
				+ optionAboutsiteTitle + ", optionAboutsiteContent=" + optionAboutsiteContent
				+ ", optionAboutsiteWechat=" + optionAboutsiteWechat + ", optionAboutsiteQq=" + optionAboutsiteQq
				+ ", optionAboutsiteGithub=" + optionAboutsiteGithub + ", optionAboutsiteWeibo=" + optionAboutsiteWeibo
				+ ", optionTongji=" + optionTongji + ", optionStatus=" + optionStatus + "]";
	}
    
    
    
}